package com.mjh.zhujianju.dao.party;

import com.livew.framework.base.dao.BaseMapper;
import com.mjh.zhujianju.model.party.BuildingMeetingUsersEO;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BuildingMeetingUsersMapper extends BaseMapper<BuildingMeetingUsersEO> {

    int insertMeetingUsers(List<BuildingMeetingUsersEO> buildingMeetingUsersEOList);


    int deleteUsers(List<Long> ids);

    /**
     * 查询用户参与的会议
     * @param userId
     * @return
     */
    List<BuildingMeetingUsersEO> selectMeetingUsersByUserId(Long userId);


	void delByMeetingId(@Param("meetingId")Long meetingId);


	List<BuildingMeetingUsersEO>	 selectQianDao(BuildingMeetingUsersEO eo);
}